import styles from './index.css';
import Link  from  'umi/link'

function BasicLayout(props) {
  return (
    <div className={styles.normal}>
      <h1 className={styles.title}>
      <Link to="/">首页</Link>&nbsp;&nbsp;&nbsp;&nbsp;
      <Link to="/calc">计算</Link>
      &nbsp;&nbsp;&nbsp;&nbsp;
      <Link to="/user">用户</Link>
      </h1>
      {props.children}
    </div>
  );
}

export default BasicLayout;
